package com.ruoyi.statistics.service;

import com.ruoyi.statistics.domain.StatisticsWithdrawal;
import java.util.List;

/**
 *  服务层
 * 
 * @author ruoyi
 * @date 2019-05-07
 */
public interface IStatisticsWithdrawalService 
{
	/**
     * 查询信息
     * 
     * @param id ID
     * @return 信息
     */
	public StatisticsWithdrawal selectStatisticsWithdrawalById(Long id);
	
	/**
     * 查询列表
     * 
     * @param statisticsWithdrawal 信息
     * @return 集合
     */
	public List<StatisticsWithdrawal> selectStatisticsWithdrawalList(StatisticsWithdrawal statisticsWithdrawal);
	
	/**
     * 新增
     * 
     * @param statisticsWithdrawal 信息
     * @return 结果
     */
	public int insertStatisticsWithdrawal(StatisticsWithdrawal statisticsWithdrawal);
	
	/**
     * 修改
     * 
     * @param statisticsWithdrawal 信息
     * @return 结果
     */
	public int updateStatisticsWithdrawal(StatisticsWithdrawal statisticsWithdrawal);
		
	/**
     * 删除信息
     * 
     * @param ids 需要删除的数据ID
     * @return 结果
     */
	public int deleteStatisticsWithdrawalByIds(String ids);



	/**
	 * 统计代付交易信息	按天
	 * @return 统计结果
	 */
	boolean autoStatisticData();


	/**
	 * 统计代付交易信息	按小时
	 * @return 统计结果
	 */
	boolean autoStatisticDataByHours();
}
